package com.aurora.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aurora.common.core.annotation.Excel;
import com.aurora.common.core.web.domain.BaseEntity;

/**
 * 分享类型配置对象 blog_shares_config
 * 
 * @author aurora
 * @date 2024-06-04
 */
public class BlogSharesConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 分享类型 */
    @Excel(name = "分享类型")
    private Long shareType;

    /** 分享的名称 */
    @Excel(name = "分享的名称")
    private String shareName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShareType(Long shareType) 
    {
        this.shareType = shareType;
    }

    public Long getShareType() 
    {
        return shareType;
    }
    public void setShareName(String shareName) 
    {
        this.shareName = shareName;
    }

    public String getShareName() 
    {
        return shareName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shareType", getShareType())
            .append("shareName", getShareName())
            .toString();
    }
}
